﻿using System;
using System.Data;
using System.Data.SqlClient;
using PPIProxy.PPIWebservice;

namespace PPIProxy
{
    public static class WVendor_Project
    {
        #region Query

        public static DataSet SelectData(Int32 Vendor_ProjectID, string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Vendor_Project_SelectData(Vendor_ProjectID, connectionKey);
        
        }

        public static DataSet SelectAll(string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Vendor_Project_SelectAll(connectionKey);
        }

        public static DataSet SelectAllIdName(string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Vendor_Project_SelectAllIdName(connectionKey);
        }

        public static DataSet SelectAllIdNameByVendor(int vendorID, string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Vendor_Project_SelectAllIdNameByVendor(vendorID, connectionKey);
        }



        #endregion
    }
}
